home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / sys / Replace_37_2.lha / Replace / Man / Replace.man
Text File  |  1995-05-04  |  2KB  |  79 lines

  1. ****** Replace.man *************************************************************
  2. *
  3. *   Replace 37.2 (04-May-95)
  4. *
  5. ********************************************************************************
  6.  
  7. :ts=8
  8.  
  9.  
  10.     SYNOPSIS
  11.     [-iinFile] [-ooutFile] <-ssearchStr> <-rreplaceStr> [-c] [-v]
  12.  
  13.  
  14.     DESCRIPTION
  15.     Very simple search/replace program. Replaces searchStr with replaceStr
  16.     in inFile.
  17.  
  18.  
  19.     OPTIONS
  20.     -i    Optional input file (default: stdin)
  21.     -o    Optional output file (default: stdout)
  22.     -s    Mandatory search string
  23.     -r    Mandatory replace string
  24.     -c    Use case-sensitive search routine (default: case-insensitive)
  25.     -v    Verbose (report number of successful search/replace)
  26.  
  27.     If the name of the input and the output files is the same, or if the
  28.     name of the output file is "-", then inFile will be renamed as inFile~
  29.     before conversion (note: any existing inFile~ will be deleted!) to
  30.     inFile.
  31.  
  32.     Both searchStr and replaceStr can be given as strings or ASCII values.
  33.     ASCII values can be given as octal, decimal or hexadecimal, prepended
  34.     with a backslash. E.g., 'A':
  35.  
  36.         (OCT) \0101
  37.         (DEC) \65
  38.         (HEX) \0x41
  39.  
  40.     NOTES
  41.     Replace is `pure' and can be made resident.
  42.  
  43.     If running under AmigaOS v39+, Replace will use memory pools for its
  44.     allocations.
  45.  
  46.  
  47.     BUGS
  48.     None known
  49.  
  50.  
  51.     REQUIREMENTS
  52.     dos.library v37+
  53.     utility.library v37+
  54.  
  55.  
  56.     HISTORY
  57.     37.2    (04-May-95)    First public release.
  58.  
  59.  
  60.     COPYRIGHT ETC.
  61.     Replace was written from scratch by Klaus Alexander Seistrup, Magnetic
  62.     Ink <kas@mink.ping.dk> and placed in Public Domain as freeware. If you
  63.     find any bugs in this software, you will have to correct the source
  64.     yourself and recompile the program, as I no longer have an Amiga (I've
  65.     switched to Linux).
  66.  
  67.  
  68.  
  69. ······: Klaus :·······································: kas@mink.ping.dk :······
  70. ··············: Magnetic Ink :··················································
  71. ····································: Soli Deo Gloria :·························
  72.  
  73. -- 
  74.  
  75.     »Let us hear the conclusion of the whole matter: Fear God, and keep his
  76.      commandments, for this is the whole duty of man.«
  77.                                                        (Ecclesiastes 12:13)
  78.  
  79.